import request from '../utils/request'
export function loginUser(data){
    return request({
        url:'/ms-member/user/login',
        method:'post',
        data
    })
}
export function getYZM(phone,type){
    return request({
        url:`/ms-member/user/getCode?phone=${phone}&type=${type}`,
        method:'get',
    })
}
export function register(data){
    return request({
        url:`/ms-member/user/register`,
        method:'post',
        data
    })
}
export function completePassword(data){
    return request({
        url:'/ms-member/user/changePassword',
        method:'post',
        data
    })
}

